using System.Data.Entity;

namespace StoreDemo.Data.Repository
{
    internal class DatabaseContextFactory : IDatabaseContextFactory
    {
        #region Implementation of IDbContextFactory

        public DbContext CreateContext()
        {
            return new StoreDemoDatabaseContext(new DatabaseInitializer());
        }

        #endregion
    }
}